package com.saac.imf.ws.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.xml.ws.Endpoint;

//@Configuration
public class JaxWsConfig {

//    @Bean
    public Endpoint endpoint() {
        String address = "http://localhost:8081/upload";
        return Endpoint.publish(address, new UploadServiceImpl());
    }
}
